home *** CD-ROM | disk | FTP | other *** search
- Path: mother.usf.edu!suntan!cdiaz
- From: "Carlos Diaz (CS)" <cdiaz@eng.usf.edu>
- Newsgroups: comp.lang.c
- Subject: key input: "hot" keys via standard libraries (unix c)
- Date: Thu, 4 Apr 1996 21:25:32 -0500
- Organization: University of South Florida
- Message-ID: <Pine.SUN.3.92.960404211350.28756B-100000@suntan>
- NNTP-Posting-Host: suntan.eng.usf.edu
- Mime-Version: 1.0
- Content-Type: TEXT/PLAIN; charset=US-ASCII
- X-Sender: cdiaz@suntan
-
- Hello! Does stdio.h have the capabilities to support the implementation of
- "hot" keys? My "hot" key routine is the menu navigator of a loan program
- and needs to meet the requirements that make "hot" key what it is:
- 1) Must never print to the screen the key pressed.
- 2) Must NOT wait for ENTER to be pressed before reading th keystroke.
- 3) IF no key has been pressed, the program can do something else
- (like update a clock with seconds digits) and then go back and wait for
- the key.
-
- Thanks a million! Please don't refer me to non standard libraries. This
- program has to be as least platform-dependent as possible. The
- libraries I have at my disposal are stdio.h, time.h, ctype.h, locale.h,
- math.h, signal.h, stdlib.h & limits.h.
-
- Sincerely,
- Carlos E.Diaz
-
-